package com.jy.event.dao;

import com.jy.event.domain.ElectronicBill;
import com.jy.event.enums.OrderPayChannel;
import org.springframework.data.repository.CrudRepository;

import java.util.Date;

/**
 * Created by lihu on 2017/12/18.
 */
public interface ElectronicBillDao extends CrudRepository<ElectronicBill, String> {


    ElectronicBill findByMchIdAndStoreIdAndDateAndPayChannel(String mchId, String storeId, Date date, OrderPayChannel payChannel);
}
